package user.service;

import core.domain.Result;
import core.domain.vo.LoginUserVO;
import user.domain.user.dto.UserDTO;
import user.domain.user.dto.UserEditDTO;
import user.domain.user.vo.UserDetailVO;

public interface IUserService {
    boolean sendCode(UserDTO userDTO);

    String codeLogin(String phone, String code);

    boolean logout(String token);

    Result<LoginUserVO> info(String token);

    UserDetailVO detail();

    int edit(UserEditDTO userEditDTO);

    int updateHeadImage(String headImage);
}
